<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8"/>
		<link href="template/css/Site_inscription.css" type="text/css" rel="stylesheet"/>
		<title>Site_accueil</title>
	</head>
	
	<body>
		<?php
			include('header.html');
		?>
		<section id="content">
			<article>
				<span>Mes biens :</span>
				<table>
					<tr>
						<td width="300px;">Adresse</td>
						<td width="100px;">Ville</td>
						<td width="100px;">Pays</td>
						<td width="100px;">Surface</td>
						<td>Fiche descriptive</td>
					</tr>
					<?php
						while($bien = $biens->fetch_object()) {
					?>
					<tr>
						<td><?php echo $bien->adresse; ?></td>
						<td><?php echo $bien->ville; ?></td>
						<td><?php echo $bien->pays; ?></td>
						<td><?php echo $bien->surface; ?></td>
						<td><a href="edit_fiche.php?id=<?php echo $bien->id; ?>">Fiche</a></td>
					</tr>
					<?php
						}
					?>
				</table>
			</article>
		</section><br/>
		<?php
			include('footer.html');
		?>
	</body>
</html>